
<h1><span class="yiyi-st" id="yiyi-14">Polynomials</span></h1>
        <blockquote>
        <p>原文：<a href="https://docs.scipy.org/doc/numpy/reference/routines.polynomials.html">https://docs.scipy.org/doc/numpy/reference/routines.polynomials.html</a></p>
        <p>译者：<a href="https://github.com/wizardforcel">飞龙</a> <a href="http://usyiyi.cn/">UsyiyiCN</a></p>
        <p>校对：（虚位以待）</p>
        </blockquote>
    
<p><span class="yiyi-st" id="yiyi-15">Polynomials in NumPy can be <em>created</em>, <em>manipulated</em>, and even <em>fitted</em> using the <a class="reference internal" href="routines.polynomials.classes.html"><span class="doc">Using the Convenience Classes</span></a> of the <code class="xref py py-obj docutils literal"><span class="pre">numpy.polynomial</span></code> package, introduced in NumPy 1.4.</span></p>
<p><span class="yiyi-st" id="yiyi-16">在NumPy 1.4之前，<a class="reference internal" href="generated/numpy.poly1d.html#numpy.poly1d" title="numpy.poly1d"><code class="xref py py-obj docutils literal"><span class="pre">numpy.poly1d</span></code></a>是选择的类，它仍然可用，以保持向后兼容性。</span><span class="yiyi-st" id="yiyi-17">然而，较新的多项式包比<a class="reference internal" href="generated/numpy.poly1d.html#numpy.poly1d" title="numpy.poly1d"><code class="xref py py-obj docutils literal"><span class="pre">numpy.poly1d</span></code></a>更完整，其便利类在numpy环境中表现更好。</span><span class="yiyi-st" id="yiyi-18">因此，建议对新编码使用多项式。</span></p>
<div class="section" id="transition-notice">
<h2><span class="yiyi-st" id="yiyi-19">Transition notice</span></h2>
<p><span class="yiyi-st" id="yiyi-20">多项式包中的各种例程都处理其系数从零度向上，即Poly1d约定的<em>逆序</em>的系列。</span><span class="yiyi-st" id="yiyi-21">记住这一点的简单方法是索引对应于度，即coef [i]是度i项的系数。</span></p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><span class="yiyi-st" id="yiyi-29"><a class="reference internal" href="routines.polynomials.package.html">多项式封装</a></span><ul>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-22"><a class="reference internal" href="routines.polynomials.classes.html">使用便利类</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-23"><a class="reference internal" href="routines.polynomials.polynomial.html">多项式模块（<code class="docutils literal"><span class="pre">numpy.polynomial.polynomial</span></code>）</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-24"><a class="reference internal" href="routines.polynomials.chebyshev.html">Chebyshev模块（<code class="docutils literal"><span class="pre">numpy.polynomial.chebyshev</span></code>）</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-25"><a class="reference internal" href="routines.polynomials.legendre.html">Legendre模块（<code class="docutils literal"><span class="pre">numpy.polynomial.legendre</span></code>）</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-26"><a class="reference internal" href="routines.polynomials.laguerre.html">Laguerre模块（<code class="docutils literal"><span class="pre">numpy.polynomial.laguerre</span></code>）</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-27"><a class="reference internal" href="routines.polynomials.hermite.html">Hermite模块，“物理学家”（<code class="docutils literal"><span class="pre">numpy.polynomial.hermite</span></code>）</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-28"><a class="reference internal" href="routines.polynomials.hermite_e.html">HermiteE模块，“Probabilists”（<code class="docutils literal"><span class="pre">numpy.polynomial.hermite_e</span></code>）</a></span></li>
</ul>
</li>
</ul>
</div>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><span class="yiyi-st" id="yiyi-35"><a class="reference internal" href="routines.polynomials.poly1d.html">Poly1d</a></span><ul>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-30"><a class="reference internal" href="routines.polynomials.poly1d.html#basics">基础</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-31"><a class="reference internal" href="routines.polynomials.poly1d.html#fitting">配件</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-32"><a class="reference internal" href="routines.polynomials.poly1d.html#calculus">微积分</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-33"><a class="reference internal" href="routines.polynomials.poly1d.html#arithmetic">算术</a></span></li>
<li class="toctree-l2"><span class="yiyi-st" id="yiyi-34"><a class="reference internal" href="routines.polynomials.poly1d.html#warnings">警告</a></span></li>
</ul>
</li>
</ul>
</div>
</div>
